package com.sixth.fign;

import com.sixth.entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @program: self-tui-education
 * @description:
 * @author: 高振杨
 * @create: 2022-04-14 17:10
 **/
@FeignClient(value = "education-systems")//调用的昵称
public interface UserFign {

    @PostMapping("/system/api/user/findByUsername")
    public User findByUsername(@RequestParam String username);

}
